13b97a1c72c14133ee3c056938dca8b8207708c2,dom/impl/src/com/intellij/util/xml/impl/DomManagerImpl.java,DomManagerImpl,getOrCreateCachedValueProvider,#XmlFile#,368
Before Change
ApplicationManager.getApplication().assertReadAccessAllowed();
FileDescriptionCachedValueProvider provider = (FileDescriptionCachedValueProvider)myHandlerCache.get(xmlFile);
if (provider == null) {
myHandlerCache.put(xmlFile, provider = new FileDescriptionCachedValueProvider(this, xmlFile));
}
return provider;
}
After Change
ApplicationManager.getApplication().assertReadAccessAllowed();
FileDescriptionCachedValueProvider provider = (FileDescriptionCachedValueProvider)myHandlerCache.get(xmlFile);
if (provider == null) {
return (FileDescriptionCachedValueProvider<T>)ConcurrencyUtil.cacheOrGet(myHandlerCache, xmlFile, new FileDescriptionCachedValueProvider(this, xmlFile));
}
return provider;
}